package com.dinghui.salary.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc 用户登录参数
 */
@Data
@ApiModel(value = "工资类型参数")
public class SalaryChangeApplyDTO implements Serializable {

//    @NotBlank(message = "账号不能为空")
//    @ApiModelProperty(value = "账号")
    private String id;

    @NotBlank(message = "变动原因不能为空")
    @ApiModelProperty(value = "变动原因")
    private String reason;

    @NotBlank(message = "状态不能为空")
    @ApiModelProperty(value = "状态")
    private int state;

    @NotBlank(message = "年月不能为空")
    @ApiModelProperty(value = "年月")
    private String year_month;

    @NotBlank(message = "身份证不能为空")
    @ApiModelProperty(value = "身份证")
    private String id_number;

    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    private String name;

}
